import request from '@/utils/request'
// -------- 核算管理--支付作业 --------
let BASE_ADDRESS = '/financial/pay'
// 分页查询

export const getPayList = (data) => {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: 'get',
        params: data
    })
}
// 按id查询
export const getPayGetInfo = (data) => {
    return request({
        url: `${BASE_ADDRESS}/getInfo`,
        method: 'get',
        params: data
    })
}
// 批量结算
export const getPayUpdateStatus = (data) => {
    return request({
        url: `${BASE_ADDRESS}/updateStatus`,
        method: 'put',
        data
    })
}
